{include file="public/_meta" /}
<body>
<!--导航条-->
{include file="public/_nav" /}
<!--导航条-->

<!--主体部分-->
<div class="container body">
    <div class="row">
        <div class="col-xs-8">
            <div class="article-list">
                {volist name="articleInfo" id="vo"}
                <div class="article-list-item">
                    <a href="{:url('index/index/article', ['id' => $vo.id])}" class="article-title">{$vo.title}</a>
                    <div class="article-info">
                            <span class="article-author">
                                <img src="/static/index/images/avatar.jpg" alt="author">DreamPHP
                            </span>-
                        <span class="article-comment">15K评论</span>-
                        <span class="article-readtime">10分钟前</span>
                    </div>
                </div>
                {/volist}
                <nav>
                    {$articleInfo->render()|raw}{if condition="$articleInfo->count() gt 0"}{else /}无数据{/if}
                </nav>
            </div>
        </div>
        <div class="col-xs-4">
            <div class="search">
                <form action="#" class="search">
                    <div class="form-group">
                        <div class="input-group">
                            <input type="search" class="form-control" placeholder="文章搜索">
                            <span class="input-group-btn">
                                    <button class="btn" type="submit">
                                        <span class="glyphicon glyphicon-search"></span>
                                    </button>
                                </span>
                        </div>
                    </div>
                </form>
            </div>
            <div class="ad-card">
                <div class="ad-type">广告位置</div>
                <div class="ad-content">
                    <a href="#" class="ad-title">DreamPHP开课了</a>
                    <a href="#" class="ad-title">DreamPHP开课了</a>
                    <a href="#" class="ad-title">DreamPHP开课了</a>
                    <a href="#" class="ad-title">DreamPHP开课了</a>
                    <a href="#" class="ad-title">DreamPHP开课了</a>
                </div>
            </div>
        </div>
    </div>
</div>
<!--主体部分-->

<!--页脚部分-->
{include file="public/_footer" /}
<!--页脚部分-->

{include file="public/_js" /}
</body>
</html>